package com.qyl.test;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

	@RequestMapping("/show")
	public String show() throws InterruptedException{
		System.out.println("----show()-----");
		//System.out.println(10/0);
		Thread.sleep(6000);//等待6s
		String a = null;
		System.out.println(a.toCharArray());
		return "success";
	}
}
